int K;
bool fun(vector<int>& v1,vector<int>&v2){
    return v1[K] > v2[K];
}
class Solution {
public:
    vector<vector<int>> sortTheStudents(vector<vector<int>>& score, int k) {
      K = k;  
      // sort(score.begin(),score.end(),fun);
      ranges::sort(score,fun);
      return score;
    }
};